package net.bithappens.hnqe.mapper;

import java.util.Collection;

import net.bithappens.hnqe.cache.ICacheManipulate;
import net.bithappens.hnqe.query.QueryTree;

public interface IMapper {

	public void setCache(ICacheManipulate cache);

	public Collection<String> getInstanceIds();

	public String getMapperId();
	
	public boolean fetch(String instanceId, QueryTree query);
	
	public void start();
	
	public void stop();
	
}
